package com.mc.designpattern.qiaojie;

public class SevereNotification extends Notification {
    MsgSender msgSender;

    public SevereNotification(MsgSender msgSender) {
        super(msgSender);
    }


    @Override
    public void notify(String message) {
        msgSender.send(message);
    }
}